Re: Date Parse - Mailing list pgsql-sql

From Chris Ruprecht
Subject Re: Date Parse
Date
Msg-id p0510120bb87cf82881a9@[192.168.0.6]
Whole thread Raw
In response to Date Parse  (pocm@rnl.ist.utl.pt (Paulo J. Matos))
List pgsql-sql
Hi Paulo,

this should do for example:
select substr( 'now'::date, 6, 2 );

Best regards,
Chris

At 00:04 +0000 01/30/2002, Paulo J. Matos wrote:
>Hi all,
>
>I have a field in a table of type date.
>In a results set I get some dates. How can I access the month in
>those dates?
>
>Best regards,
>
>--
>Paulo J. Matos : pocm(_at_)rnl.ist.utl.pt
>Instituto Superior Tecnico - Lisbon   
>Software & Computer Engineering - A.I.
>  - > http://www.rnl.ist.utl.pt/~pocm
>  ---
>    Yes, God had a deadline...
>        So, He wrote it all in Lisp!
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 6: Have you searched our list archives?
>
>http://archives.postgresql.org


-- 
Chris Ruprecht
Network grunt and bit pusher extraordinaíre

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



pgsql-sql by date:

Previous
From: "Andrew G. Hammond"
Date:
Subject: Re: Date Parse
Next
From: David Stanaway
Date:
Subject: Re: [ADMIN] SQL Script